﻿using Common.Communal;
using ERP.Domain.Processs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sell.Services.Pro
{
    public interface IFlowServices
    {
        /// <summary>
        /// 工艺流程添加
        /// </summary>
        /// <param name="processFlow"></param>
        /// <returns></returns>
        Task<ApiResult<int>> AddProcessFlow(ProcessFlow processFlow);
        /// <summary>
        /// 工艺流程修改
        /// </summary>
        /// <param name="processFlow"></param>
        /// <returns></returns>
        Task<ApiResult<int>> UpdateProcessFlow(ProcessFlow processFlow);
        /// <summary>
        /// 删除工艺流程
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ApiResult<int>> DeleteProcessFlow(int id);
    }
}
